package com.blackrock.das.service;

import com.datastax.driver.core.ResultSet;
import com.datastax.driver.core.Session;

/**
 * The Interface CassandraService.
 */
public interface CassandraService {

    /**
     * Connect.
     *
     * @param node the node
     */
    public void connect(String node);

    /**
     * Close.
     */
    public void close();

    /**
     * Execute query.
     *
     * @param cql the cql
     * @return the result set
     */
    public ResultSet executeQuery(String cql);

    /**
     * Gets the session.
     *
     * @return the session
     */
    public Session getSession();

}
